﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcSDK.Domain
{
    /// <summary>
    /// 入库单
    /// </summary>
    [Serializable]
    public partial class AT_ReceiptStock : AT_OnroadProdEx
    {
        public AT_ReceiptStock()
        { }
        #region Model
        private long _Id;
        private long _companyid;
        private DateTime _createtime;
        private long _createby;
        private DateTime _updatetime;
        private long _updateby;
        private int? _status;
        private string _dcode;
        private DateTime? _ywdate;
        private long _ywtype;
        private long _supplier;
        private string _ywy;
        private string _remark;
        private long? _stockid;
        /// <summary>
        /// 序号
        /// </summary>
        public long Id
        {
            set { _Id = value; }
            get { return _Id; }
        }
        /// <summary>
        /// 公司id
        /// </summary>
        public long CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public long CreateBy
        {
            set { _createby = value; }
            get { return _createby; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 修改人
        /// </summary>
        public long UpdateBy
        {
            set { _updateby = value; }
            get { return _updateby; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 单据号
        /// </summary>
        public string Dcode
        {
            set { _dcode = value; }
            get { return _dcode; }
        }
        /// <summary>
        /// 业务日期
        /// </summary>
        public DateTime? YwDate
        {
            set { _ywdate = value; }
            get { return _ywdate; }
        }
        /// <summary>
        /// 业务类型
        /// </summary>
        public long YwType
        {
            set { _ywtype = value; }
            get { return _ywtype; }
        }
        /// <summary>
        /// 往来单位
        /// </summary>
        public long Supplier
        {
            set { _supplier = value; }
            get { return _supplier; }
        }
        /// <summary>
        /// 业务人员
        /// </summary>
        public string Ywy
        {
            set { _ywy = value; }
            get { return _ywy; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 入库仓库
        /// </summary>
        public long? StockId
        {
            set { _stockid = value; }
            get { return _stockid; }
        }
        #endregion Model

    }
}
